package com.tencent.wxcloudrun.dao;

import com.tencent.wxcloudrun.model.AdminUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * ClassName: AdminUserMapper
 * Package: com.tencent.wxcloudrun.dao
 * Description:
 *
 * @Date: 2023/1/22 11:30 AM
 * @Author: wht
 */
@Mapper
public interface AdminUserMapper {
    Integer addOneAdminUser(AdminUser adminUser);

    Integer updateOneAdminUserById(AdminUser adminUser);

    List<AdminUser> getAdminUserList(AdminUser adminUser);

    AdminUser getOneAdminUserById(Integer id);

    AdminUser getOneAdminUserByMobile(String mobile);

    AdminUser getOneAdminUserByToken(String token);
}
